package org.bigjava.novelplatform.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

import static org.bigjava.novelplatform.common.constant.NovelInfoConstant.*;

/**
 * @author ykh
 */
@Getter
public enum PathMapEnum {
    /**
     *
     */
    USER_HEAD(USER_HEAD_URL_PATH,USER_HEAD_DISK_PATH),
    BOOK_COVER(BOOK_COVER_URL_PATH,BOOK_COVER_DISK_PATH),
    EXTENSION(EXTENSION_PREFIX,EXTENSION_DISK_PATH);

    PathMapEnum(String networkPath, String diskPath) {
        this.networkPath = networkPath;
        DiskPath = diskPath;
    }

    private final String networkPath;
    private final String DiskPath;

}
